﻿using System;
namespace Travel.Model
{
    /// <summary>
    /// route_price:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class route_price
    {
        public route_price()
        { }
        #region Model
        private Guid _id;
        private string _code;
        private int _route_id;
        private decimal _adult_price;
        private decimal _children_price;
        private int _total_numbers;
        private int _sale_numbers;
        private DateTime _userd_date;
        private int _account_id;
        private DateTime _created_on;
        private string _created_by;
        private DateTime? _changed_on;
        private string _changed_by;
        /// <summary>
        /// 团主键
        /// </summary>
        public Guid id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 团编号
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 线路Id
        /// </summary>
        public int route_id
        {
            set { _route_id = value; }
            get { return _route_id; }
        }
        /// <summary>
        /// 成人价
        /// </summary>
        public decimal adult_price
        {
            set { _adult_price = value; }
            get { return _adult_price; }
        }
        /// <summary>
        /// 儿童价
        /// </summary>
        public decimal children_price
        {
            set { _children_price = value; }
            get { return _children_price; }
        }
        /// <summary>
        /// 总票数
        /// </summary>
        public int total_numbers
        {
            set { _total_numbers = value; }
            get { return _total_numbers; }
        }
        /// <summary>
        /// 售出总票数
        /// </summary>
        public int sale_numbers
        {
            set { _sale_numbers = value; }
            get { return _sale_numbers; }
        }
        /// <summary>
        /// 价格设定时间
        /// </summary>
        public DateTime userd_date
        {
            set { _userd_date = value; }
            get { return _userd_date; }
        }
        /// <summary>
        /// 导游id，与admin表内的id进行关联
        /// </summary>
        public int account_id
        {
            set { _account_id = value; }
            get { return _account_id; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime created_on
        {
            set { _created_on = value; }
            get { return _created_on; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string created_by
        {
            set { _created_by = value; }
            get { return _created_by; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? changed_on
        {
            set { _changed_on = value; }
            get { return _changed_on; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string changed_by
        {
            set { _changed_by = value; }
            get { return _changed_by; }
        }
        #endregion Model

    }
}

